package org.example.aigc.entity;

public class Course {

    /**
     * id
     */
    private Long id;

    /**
     * course_name
     */
    private String courseName;

    /**
     * teacher_id 对应的 teacher
     */
    private Teacher teacher;

    /**
     * cover_path
     */
    private String coverName;

    /**
     * detail
     */
    private String detail;

    /**
     * audio_id 对应的 audio
     */
    private Audio audio;



    /**
     * appearance_id 对应的 appearance
     */

    private Appearance appearance;
    /**
     * 课程对应的知识库名字
     */
    private String knowledgeBaseName;
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCoverName() {
        return coverName;
    }

    public void setCoverName(String coverName) {
        this.coverName = coverName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Audio getAudio() {
        return audio;
    }

    public void setAudio(Audio audio) {
        this.audio = audio;
    }

    public Appearance getAppearance() {
        return appearance;
    }

    public void setAppearance(Appearance appearance) {
        this.appearance = appearance;
    }
    public String getKnowledgeBaseName() {
        return knowledgeBaseName;
    }

    public void setKnowledgeBaseName(String knowledgeBaseName) {
        this.knowledgeBaseName = knowledgeBaseName;
    }
    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", courseName='" + courseName + '\'' +
                ", teacher=" + teacher +
                ", coverName='" + coverName + '\'' +
                ", detail='" + detail + '\'' +
                ", audio=" + audio +
                ", appearance=" + appearance +
                ", knowledgeBaseName="+ knowledgeBaseName+
                '}';
    }
}
